﻿using System;
using System.Collections.Generic;
using NHibernate.Cache;
using NHibernate.Cfg;

namespace HYCodeBase.SqlUtility.ORMSuit
{
	internal class UseCacheFactory : IQueryCacheFactory
	{
		public IQueryCache GetQueryCache(string regionName, UpdateTimestampsCache updateTimestampsCache, Settings settings, IDictionary<string, string> props)
		{
			return new UseStandardQueryCache(settings, props, updateTimestampsCache, regionName);
		}
	}
}
